package com.dmatek.uwb.xml.dom.bean;

import com.dmatek.uwb.xml.dom.annotations.AttributeName;

/***
 *  抽象的基站类
 * @author zhangfu
 * @data 2019年6月12日 下午5:31:29
 * @Description
 */
public abstract class BaseNode implements DomElement{
	@AttributeName("id")
	private String id;
	@AttributeName("height")
	private float height;
	@AttributeName("x")
	private double x;
	@AttributeName("y")
	private double y;
	public BaseNode() {
		super();
		// TODO Auto-generated constructor stub
	}
	public BaseNode(String id, float height, double x, double y) {
		super();
		this.id = id;
		this.height = height;
		this.x = x;
		this.y = y;
	}
	public String getId() {
		return id;
	}
	public void setId(String id) {
		this.id = id;
	}
	public float getHeight() {
		return height;
	}
	public void setHeight(float height) {
		this.height = height;
	}
	public double getX() {
		return x;
	}
	public void setX(double x) {
		this.x = x;
	}
	public double getY() {
		return y;
	}
	public void setY(double y) {
		this.y = y;
	}
	@Override
	public String toString() {
		return "BaseNode [id=" + id + ", height=" + height + ", x=" + x
				+ ", y=" + y + "]";
	}
}
